<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
 

<c:set var="contextPath" value="${pageContext.request.contextPath }" scope="request"></c:set>
<%
    String path = request.getContextPath();   
	System.setProperty("java.awt.headless", "true");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon"/>
<link rel="Bookmark" href="images/favicon.ico" type="image/x-icon"/>
<script language="javascript" type="text/javascript">
    function toRefreshImg()
    {
        
     	document.getElementById("imgId").src = "validateCode.jpg?"+new Date().getTime();
     	
    }
</script>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>ADAMS</title>
<style type="text/css">
<!--
body {}
dl, dl ,dd{ padding:0; margin:0;}
.top{ position:relative; margin:0 auto; width:919px; height:80px;  margin-bottom:10px; }
.nav{position:absolute;right:0px;top:44px;width:588px;height:36x;line-height:36px;padding-right:25px;text-align:right;font-size:14px;color:#FFF;background:url(images/top_nav.jpg) no-repeat;}
.nav a{ color:#FFF; text-decoration:none; cursor:hand;}
.nav a:hover{ color:#F90;}
.main{margin:0 auto; width:919px; height:auto;}
.main .b_img{ float:left; width:532px; height:221px;padding:0 0px 50px 0px;}
.main .load{
	float:left;
	width:372px;
	overflow:hidden;
	position:absolute;
	left: 341px;
	top: 80px;
}
.load .side{ height:auto; width:100%;}
.load .ct{ padding:10px 0; background:url(images/prota_17.jpg) repeat-y; height:140px; font-size:12px; }
.load .ct dt{ float:left; width:112px; text-align:right; height:35px; line-height:35px; }
.load .ct dd{ float:left; width:260px;  height:35px; line-height:35px; }
.load .ct dd input{ margin-top:5px; height:20px; line-height:20px; }
.load .ct dd img{ margin-top:5px;}
.load .ct dd span{ float:left;}
.text{ margin-left:65px; width:335px; color:#404040;  line-height:30px; font-size:12px;}
.text h2{ height:35px; border-bottom:1px solid #add1f0; font-size:16px;display:block; clear:both; padding:0; margin:0;}
.footer{margin:0 auto; width:1009px; height:auto; text-align:center; color:#989898; padding-top:30px; font-size:12px;}
-->
</style>

</head>
<body onload = "document.getElementById('userName').focus();">
<form name="vasmsLogin" method="post" action="<c:url value="/j_spring_security_check"/>">
<div class="main">
  <div class="load">
 <div class="side" style="background:#69F; height:40px; text-align:center; padding-top:10px; font-size:20px; font-weight:1000">管理平台登录</div>
    
       
       <dl class="ct">       
         <dt>账&nbsp;&nbsp;号:&nbsp;</dt>
         <dd><input type="text" name="j_username" id="userName"    style= "width:150px"/></dd> 
         <dt>密&nbsp;&nbsp;码:&nbsp;</dt>
         <dd><input type="password" name="j_password" id="password"   style= "width:150px"/></dd>
   <!--      <dt>验证码:&nbsp;</dt>
         <dd><span><input name="j_captcha_response" value="" type="text" id="textfield" size="8" /></span>
         &nbsp;<img id="imgId" src="/jcaptcha"  width="69" height="26" style="cursor:pointer;"/>
         </dd> -->  
         
         <dt><input style="margin-top:6px;" type="checkbox" name="_spring_security_remember_me"/></dt>
         <dd>两周之内自动登录</dd>
		 <dt></dt>
         <dd>
           <input name="login" type="image" src="images/prota_18.jpg" style="height:28px;" alt="Submit"/>
          
           &nbsp; &nbsp; ${msg}
         </dd>
       </dl>
        <div class="side"><img src="images/prota_24.jpg" width="372" height="14"  /></div>
  </div>
</div>

 
</form>
</body>
</html>